﻿<%@page import="com.mmy.domain.hotel.THotelBase"%>
<%@page import="com.mmy.domain.constzone.TConstZone"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>  
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/includeb.jsp"></jsp:include>
<script src="js/jsp/back/hotel/hotelBaseIndex.js"></script>
<title>酒店信息</title>
	</head>
	<body>
<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>
<div id="menu-back">
		<main class="at-padding-large-bottom">
			<article>
				<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
					<div class="page-header container">
						<div class="row">
							<div class="span-5 col">
								<h1>酒店管理</h1>
							</div>	
							
						 </div >
					</div>
				</header>
				<section class="container">
					
					<!-- <nav class="breadcrumb" >
						
						<a href="hotelindex" >酒店基本信息</a> |
						<a href="" >客房</a> 
						<hr class="breadcrumb-hr" color=#F9F6E5 SIZE=3></hr>
					</nav> -->
					<!-- 酒店基本信息展示 -->
					<div class="information" >
					
						<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i><label>酒店基本信息</label>
						</h4>
						<div class="input-container">
						
							<div class="select-condition">
							<form  class="info-form" >
							<span> <label for="hotelName">酒店名称：</label></span>
							<input type="text" class="input-width" id="hotelName" name="HotelName" />
							 <span><label for="hotelProvinceID">所属区域：</label></span>			
									<select class="input-select-vlign select-height " id="hotelProvinceID" name="strProvinceID" emptyOption="false"  onchange="changeSelect(this,'getLevel4','level3','City')" >
					<option value="" >--请选择--</option>
					<c:forEach var="lstConstZoneProvince" items="${lstConstZoneProvince}">
						<option value="${lstConstZoneProvince.getZoneID()}" <c:if test="${strProvinceID==lstConstZoneProvince.getZoneID()}"> selected="selected"</c:if>>${lstConstZoneProvince.getZoneName()}</option>
						</c:forEach>
						</select>
						<select class="input-select-vlign select-height  City" name="strCityID" id="hotelCityID" emptyOption="false" onchange="changeSelect(this,'getLevel8','level4','ZoneID')">
						<option value="" >--请选择--</option>
						
						</select> 	
						<select class="input-select-vlign select-height  ZoneID" name="strZoneID" id="hotelZoneID" emptyOption="false">
							<option value="" >--请选择--</option>
						
						</select>
					
						
							<br>
							<span><label for="hotelRate">酒店星级：</label></span>
							<input type="text" class="input-width" id="hotelRate" name="Rate"/>
							<span><label for="hotelType">酒店类型：</label></span>
							<select class="select-height" id="hotelType" name="Type">
								<option value="">不限</option>
								<option value="0">星级酒店</option>
								<option value="1">快捷酒店</option>
<option value="2">民宿 </option>
								<option value="3">别墅</option>
							</select> 
							<input type="submit" value="搜索" class="btn"/>
							<input type="reset" value="重置" class="btn"/>
							
							<div class="at-float-right">
							<input type="button" class="btn " value="新建"  onclick="location.href='/mmy/tocreatehotelbase'" />
							<input type="button" class="btn " value="修改"  onclick="updateHotelBase()"/>
							<input type="button" class="btn"  value="删除" onclick="delHotelBaseBatch()"/>
							
							
							</div>
							</form>
						</div>
	<div class="tableheight"><table class="info-table" id="hotelBase"></table></div>
						
						
					
						</div>	
					</div>
					
		</section>
				
					
					
			</article>
			
		</main>
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main End -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
</div>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
	</div>
	<!-- /st-container -->
	
	
	
	
	
	
	<!-- 修改弹窗 开始 -->
	<div id="upDatePopup" class="upDatePopup">
	<div class="contentDiv">
		<form action="update" class="info-form">
		<div id="headers">
			<div >
				<h4 class="info-h4">
					<i class="fa fa-caret-right" aria-hidden="true" id="headers-popup-i"></i>修改客户信息
				</h4>
			<!-- <table class="popupInfoTab">
				
				<tr>
					<th>客户姓名</th>
					<td>
						<input type="text" /><span class="mustWrite">*</span>
					</td>
					<th>性别</th>
					<td>
						<input type="radio" name="sex" >男</input><input type="radio" name="sex" >女</input><span class="mustWrite">*</span>
					</td>
					<th>身份证号</th>
					<td >
						<input type="text" />
						<input type="radio" name="isPass" >是否通过验证</input><span class="mustWrite">*</span>
					</td>
					
				</tr>
				<tr >
					<th>手机号码</th>
					<td>
						<input type="text" /><span class="mustWrite">*</span>
					</td>
					<th>出生年月</th>
					<td>
						<input type="text"/>	 
					</td>
					<th>所在省市</th>
					<td>
						<select>
							<option>请选择</option>
						</select>
					
						<select>
							<option>请选择</option>
						</select><span class="mustWrite">*</span>
						</span>  
					</td>
				</tr>
				<tr>
				
					<th>客户级别</th>
					<td >
					<select class="input-select-vlign">
								<option>一级白银会员</option>
								<option>二级白银会员</option>
								<option>一级黄金会员</option>
					</select>	 
					</td>
					<th>客户类型</th>
					<td >
						<select class="input-select-vlign">
								<option>类型一</option>
								<option>类型二</option>
								<option>类型三</option>
							</select> 
					</td>
					<th>客户来源</th>
					<td >
						<select class="input-select-vlign">
								<option>客户推荐</option>
								<option>官网注册</option>
								<option>员工推荐</option>
							</select><span class="mustWrite">*</span>	 
					</td>
				</tr>
				<tr>
					<th>微信</th>
					<td >
						<input type="text"/><span class="mustWrite">*</span>	 
					</td>
					<th>邮箱</th>
					<td >
						<input type="text"/><span class="mustWrite">*</span> 
					</td>
					<th>QQ号码</th>
					<td >
						<input type="text"/><span class="mustWrite">*</span>	 
					</td>
				</tr>
				<tr>
					<th>邮编</th>
					<td >
						<input type="text"/>	 
					</td>
					<th>传真</th>
					<td >
						<input type="text"/>	 
					</td>
					<th>住址</th>
					<td >
						<input type="text"/><span class="mustWrite">*</span>		 
					</td>
					
				</tr>
				<tr>
					
					<th>是否为VIP</th>
					<td colspan="2">
						<input type="radio" name="isVIP">	 
					</td>
					<th>是否为黑名单</th>
					<td colspan="2">
						<input type="radio" name="isBLack">	 
					</td>
					
				</tr>
				<tr>
					<th>公司名称</th>
					<td >
						<input type="text"/>	 
					</td>
					<th>职位</th>
					<td >
						<input type="text"/>	 
					</td>
					<th>公司电话</th>
					<td >
						<span>电话1</span>
						<input type="text"/>	
						<span>电话2</span>
						<input type="text"/>	 
					</td>
				</tr>
				
				<tr>
					<th>备注</th>
					<td colspan="5">
						<textarea ></textarea>
					</td>
					
				</tr>
				
			</table> -->
			<table class="popupInfoTab">
				
				<tr>
					<th>客户姓名</th>
					<td>
						<input type="text" name="cUserName" value="${tSysUsers.getCUserName()}" readonly="readopnly"/><span class="mustWrite">*</span>
					</td>
					<th>性别</th>
					<td>
						<input type="text" name="bSex" value="${tSysUsers.getBSex()}" >
						<!-- <input type="radio" name="bSex" value="0">男</input><input type="radio" name="bSex" value="1">女</input> --><span class="mustWrite">*</span>
					</td>
					<th>身份证号</th>
					<td >
						<input type="text" name="cIdentity"/>
						<input type="radio" name="isPass" >是否通过验证</input><span class="mustWrite">*</span>
					</td>
					
				</tr>
				<tr >
					<th>手机号码</th>
					<td>
						<input type="text" name="cUserMobile"/><span class="mustWrite">*</span>
					</td>
					
					<th>所在省市</th>
					<td >
						<input type="text" name="cZoneName"/><span class="mustWrite">*</span>
						</span>  
					</td>
					<th>住址</th>
					<td >
						<input type="text" name="cAddress"/><span class="mustWrite">*</span>		 
					</td>
				</tr>
				<tr>
				<th>客户类型</th>
					<td >
						<select class="input-select-vlign" name="iUserType">
								<option value="0">游客</option>
								
							</select> 
					</td>
					<th>所属公司名称</th>
					<td >
					<select class="input-select-vlign" name="cOrgName">
								<option>内测旅行社</option>
								<option>美美游旅行社</option>
								<option>旅行社1</option>
					</select>	 
					</td>
					
					<!-- <th>推荐人编码</th>
					<td>
						<input type="text" name="iUpUserID"/><span class="mustWrite">*</span>	 
					</td> -->
				</tr>
				
				<tr>
					<th>邮箱</th>
					<td >
						<input type="text" name="cMail"/><span class="mustWrite">*</span> 
					</td>
					<th>固定电话</th>
					<td >
						<input type="text" name="cTel"/>	 
					</td>
					<th>传真</th>
					<td >
						<input type="text" name="cFax"/>	 
					</td>
					
					
				</tr>
				
				<tr>
					
					<th>职位</th>
					<td >
						<input type="text" name="cJob"/>	 
					</td>
					<th>上传证件照片</th>
					<td >
						<input type="file"/>	 
					</td>
					<th>上传个人照片</th>
					<td >
						<input type="file"/> 
					</td>
				</tr>
				<tr>
					
					<th>是否为VIP
					</th>
					<td colspan="2">
						<input type="radio" name="bVIP" value="0">	 
					</td>
					<th>是否为黑名单</th>
					<td colspan="2">
						<input type="radio" name="bBlack" value="0">	 
					</td>
					
				</tr>
				<tr>
					<th>账号状态</th>
					<td colspan="2">
						<select class="input-select-vlign" name="iAccountState">
								<option value="正常">正常</option>
								<option value="禁用">禁用</option>
								
					</select>
					</td>
					<th>会员状态</th>
					<td colspan="2">
						<select class="input-select-vlign" name="iMemberState">
								<option value="0">普通账号</option>
								<option value="1">会员账号</option>
								
					</select>
					</td>
				</tr>
			<%-- 	<tr>
					<th >创建人</th>
					<td colspan="2">
						<input type="text" value="${tSysUser.getCUserName() } " name="cCreator"/>	 
					</td>
					<th >创建时间</th>
					<td colspan="2">
						<input type="datetime-local" name="dCreateDate"/>	 
					</td>
				</tr> --%>
				<tr>
					<th>备注</th>
					<td colspan="5">
						<textarea ></textarea>
					</td>
					
				</tr>
				
			</table>
			<center>
				<input type="button" class="btn" value="保存" onclick="rehidder()"/>
				<input type="button" class="btn" value="返回" onclick="rehidder()"/>
			</center> 
			</div>
			<div id="headers-right" onclick="rehidder()">x</div>
		</div>
		</form>
	</div>
	</div>
	<!-- 修改弹窗结束 -->
	
	<!-- 查看信息弹窗 -->
	<div id="checkPopup" class="checkPopup">
	<div class="contentDiv" >
		<form>
		<div id="headers">
			<div >
				<h4 class="info-h4">
					<i class="fa fa-caret-right" aria-hidden="true" id="headers-popup-i"></i>新建客户信息
				</h4>
			<table class="popupInfoTab">
				
				<tr>
					<th>客户姓名</th>
					<td>
						<input type="text" /><span class="mustWrite">*</span>
					</td>
					<th>性别</th>
					<td>
						<input type="radio" name="sex" >男</input><input type="radio" name="sex" >女</input><span class="mustWrite">*</span>
					</td>
					<th>身份证号</th>
					<td >
						<input type="text" />
						<input type="radio" name="isPass" >是否通过验证</input><span class="mustWrite">*</span>
					</td>
					
				</tr>
				<tr >
					<th>手机号码</th>
					<td>
						<input type="text" /><span class="mustWrite">*</span>
					</td>
					<th>出生年月</th>
					<td>
						<input type="text"/>	 
					</td>
					<th>所在省市</th>
					<td>
						<select>
							<option>请选择</option>
						</select>
					
						<select>
							<option>请选择</option>
						</select><span class="mustWrite">*</span>
						</span>  
					</td>
				</tr>
				<tr>
				
					<th>客户级别</th>
					<td >
					<select class="input-select-vlign">
								<option>一级白银会员</option>
								<option>二级白银会员</option>
								<option>一级黄金会员</option>
					</select>	 
					</td>
					<th>客户类型</th>
					<td >
						<select class="input-select-vlign">
								<option>类型一</option>
								<option>类型二</option>
								<option>类型三</option>
							</select> 
					</td>
					<th>客户来源</th>
					<td >
						<select class="input-select-vlign">
								<option>客户推荐</option>
								<option>官网注册</option>
								<option>员工推荐</option>
							</select><span class="mustWrite">*</span>	 
					</td>
				</tr>
				<tr>
					<th>微信</th>
					<td >
						<input type="text"/><span class="mustWrite">*</span>	 
					</td>
					<th>邮箱</th>
					<td >
						<input type="text"/><span class="mustWrite">*</span> 
					</td>
					<th>QQ号码</th>
					<td >
						<input type="text"/><span class="mustWrite">*</span>	 
					</td>
				</tr>
				<tr>
					<th>邮编</th>
					<td >
						<input type="text"/>	 
					</td>
					<th>传真</th>
					<td >
						<input type="text"/>	 
					</td>
					<th>住址</th>
					<td >
						<input type="text"/><span class="mustWrite">*</span>		 
					</td>
					
				</tr>
				<tr>
					
					<th>是否为VIP</th>
					<td colspan="2">
						<input type="radio" name="isVIP">	 
					</td>
					<th>是否为黑名单</th>
					<td colspan="2">
						<input type="radio" name="isBLack">	 
					</td>
					
				</tr>
				<tr>
					<th>公司名称</th>
					<td >
						<input type="text"/>	 
					</td>
					<th>职位</th>
					<td >
						<input type="text"/>	 
					</td>
					<th>公司电话</th>
					<td >
						<span>电话1</span>
						<input type="text"/>	
						<span>电话2</span>
						<input type="text"/>	 
					</td>
				</tr>
				
				<tr>
					<th>备注</th>
					<td colspan="5">
						<textarea ></textarea>
					</td>
					
				</tr>
				
			</table>
			<center>
				<input type="button" class="btn" value="保存" onclick="rehidder()"/>
				<input type="button" class="btn" value="返回" onclick="rehidder()"/>
			</center> 
			</div>
			<div id="headers-right" onclick="rehidder()">x</div>
		</div>
		</form>
	</div>
	
	</div>
	<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
</body>
</html>